﻿<div>
    <div class="row" ng-repeat="insight in governancectrl.companyGovernanceProfile.insights">
        <div class="col-md-10">
            <div class="title-alert">Insight {{insight.publicationDate | date: 'MMM d, y'}} : {{insight.title}}</div>
        </div>
        <div class="col-md-2">
            <button ng-click="governancectrl.DownloadGovernancePDF(insight.fileId, insight.fileName, 'insight')"
                    class="btn-green {{!governanceProfile.DownloadGovernanceFileEnabled(insight.fileId, insight.fileName) && 'disabled' || ''}}"
                    ng-disabled="!governancectrl.DownloadGovernanceFileEnabled(insight.fileId, insight.fileName)">
                Download Insight
            </button>
        </div>
        <div class="clear"></div><br />
    </div>
</div>
